package com.ruoyi.approval.mapper;

import java.util.List;
import com.ruoyi.approval.domain.AApprovalRequests;

/**
 * 审批请求Mapper接口
 *
 * @author ruoyi
 * @date 2025-04-02
 */
public interface AApprovalRequestsMapper
{
    /**
     * 查询审批请求
     *
     * @param id 审批请求主键
     * @return 审批请求
     */
    public AApprovalRequests selectAApprovalRequestsById(Long id);

    /**
     * 查询审批请求列表
     *
     * @param aApprovalRequests 审批请求
     * @return 审批请求集合
     */
    public List<AApprovalRequests> selectAApprovalRequestsList(AApprovalRequests aApprovalRequests);

    /**
     * 新增审批请求
     *
     * @param aApprovalRequests 审批请求
     * @return 结果
     */
    public int insertAApprovalRequests(AApprovalRequests aApprovalRequests);

    /**
     * 修改审批请求
     *
     * @param aApprovalRequests 审批请求
     * @return 结果
     */
    public int updateAApprovalRequests(AApprovalRequests aApprovalRequests);

    /**
     * 删除审批请求
     *
     * @param id 审批请求主键
     * @return 结果
     */
    public int deleteAApprovalRequestsById(Long id);

    /**
     * 批量删除审批请求
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAApprovalRequestsByIds(Long[] ids);


    /**
     * 根据审批请求ID查询审批请求
     *
     * @param approvalRequestsId 审批请求雪花ID
     * @return 结果
     */
    AApprovalRequests selectAApprovalRequestsId(String approvalRequestsId);
}
